package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sysregion对象 sysregion
 * 
 * @author ruoyi
 * @date 2021-10-28
 */
public class Sysregion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区域主键 */
    private Long KeyId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String RegionName;

    /** 区域上级标识 */
    @Excel(name = "区域上级标识")
    private Long ParentCode;

    /** 地名简称 */
    @Excel(name = "地名简称")
    private String SimpleName;

    /** 区域等级 */
    @Excel(name = "区域等级")
    private Long Level;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String CityCode;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String ZipCode;

    /** 组合名称 */
    @Excel(name = "组合名称")
    private String MerName;

    /** 经度 */
    @Excel(name = "经度")
    private Long Lng;

    /** 纬度 */
    @Excel(name = "纬度")
    private Long Lat;

    /** 拼音 */
    @Excel(name = "拼音")
    private String PinYin;

    public void setKeyId(Long KeyId) 
    {
        this.KeyId = KeyId;
    }

    public Long getKeyId() 
    {
        return KeyId;
    }
    public void setRegionName(String RegionName) 
    {
        this.RegionName = RegionName;
    }

    public String getRegionName() 
    {
        return RegionName;
    }
    public void setParentCode(Long ParentCode) 
    {
        this.ParentCode = ParentCode;
    }

    public Long getParentCode() 
    {
        return ParentCode;
    }
    public void setSimpleName(String SimpleName) 
    {
        this.SimpleName = SimpleName;
    }

    public String getSimpleName() 
    {
        return SimpleName;
    }
    public void setLevel(Long Level) 
    {
        this.Level = Level;
    }

    public Long getLevel() 
    {
        return Level;
    }
    public void setCityCode(String CityCode) 
    {
        this.CityCode = CityCode;
    }

    public String getCityCode() 
    {
        return CityCode;
    }
    public void setZipCode(String ZipCode) 
    {
        this.ZipCode = ZipCode;
    }

    public String getZipCode() 
    {
        return ZipCode;
    }
    public void setMerName(String MerName) 
    {
        this.MerName = MerName;
    }

    public String getMerName() 
    {
        return MerName;
    }
    public void setLng(Long Lng) 
    {
        this.Lng = Lng;
    }

    public Long getLng() 
    {
        return Lng;
    }
    public void setLat(Long Lat) 
    {
        this.Lat = Lat;
    }

    public Long getLat() 
    {
        return Lat;
    }
    public void setPinYin(String PinYin) 
    {
        this.PinYin = PinYin;
    }

    public String getPinYin() 
    {
        return PinYin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("KeyId", getKeyId())
            .append("RegionName", getRegionName())
            .append("ParentCode", getParentCode())
            .append("SimpleName", getSimpleName())
            .append("Level", getLevel())
            .append("CityCode", getCityCode())
            .append("ZipCode", getZipCode())
            .append("MerName", getMerName())
            .append("Lng", getLng())
            .append("Lat", getLat())
            .append("PinYin", getPinYin())
            .toString();
    }
}
